﻿<%@ Page Language="C#" MasterPageFile="~/webadmin/pages/MasterPage.master" AutoEventWireup="true" CodeFile="cosodaotao_frm.aspx.cs" Inherits="webadmin_pages_cosodaotao_frm" title="Thêm mới - thay đổi thông tin cơ sở đào tạo nghề" %>
<%@ Register Assembly="RadUpload.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<%@ Register Assembly="RadEditor.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_Menu" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Banner" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_Main" Runat="Server">
<% if (!string.IsNullOrEmpty(messnotID.ToString()))
     { %>
		<div class="notification error close png_bg" style="right: 0px; top: 0px; height: 43px">
					<div>Thông báo lỗi:  <b><i><%=messnotID%></i></b>
						</div>
			</div>
			<% } %>
	    <!-- End Notifications -->
			
		
			
			<!-- End Notifications -->
            
			<p id="page-intro">Chọn tác vụ bạn muốn thực hiện</p>
			
			<ul class="shortcut-buttons-set">
				
				<li><a class="shortcut-button" href="cosodaotao_frm.aspx?act=add"><span>
					<img src="../resources/images/icons/pencil_48.png" alt="icon" width="48" height="48" /><br />
					Thêm mới cơ sở đào tạo nghề
				</span></a></li>
				
                <li><a class="shortcut-button" href="cosodaotao_list.aspx"><span>
					<img src="../resources/images/icons/Cash_machine.png" alt="icon" width="48" height="48" /><br />
					Xem danh sách cơ sở đào tạo&nbsp;</span></a></li></ul>
	    <!-- End .shortcut-buttons-set -->
			
			<div class="clear"></div> <!-- End .clear -->
<%if (!string.IsNullOrEmpty(messnotID))
  {%>
 <div class="content-box closed-box"><!-- Start Content Box -->
 <%}
   else
   { %>
   <div class="content-box"><!-- Start Content Box -->
 <%} %>
 </div>
				
				<div class="content-box-header">
					
					<h3>Thêm mới cơ sở đào tạo  </h3>
					
					
					
				  <div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
                <div class="content-box-content">
                <% if(!string.IsNullOrEmpty(mess)){ %>
		<div class="notification error png_bg">
				<a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
				Thông báo lỗi:  <b><i><%=mess%></i></b></div>
			</div>
			<% } %>
                <%
                    if (!string.IsNullOrEmpty(Request.QueryString["act"])) act = Request.QueryString["act"].Trim();
                    if (!(act=="add")){ %>
                <p><label>Mã tin:&nbsp;
                            <asp:TextBox ID="txtMa" runat="server" ReadOnly="True" Enabled="False"></asp:TextBox><span></span></label></p>
                    <p>
                    <%} %>
                        <label > Tên cơ sở đào tạo nghề </label>
                        <asp:TextBox ID="txt_csdt_ten" runat="server" CssClass="text-input large-input" Width="641px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_csdt_ten"
                            ErrorMessage="*" ValidationGroup="grp_submit"></asp:RequiredFieldValidator></p>
                    <p> 
                    <label > Mô hình đào tạo </label>
                        <asp:DropDownList ID="drop_mohinhdaotao" runat="server"></asp:DropDownList>
                    </p>
                     <p> 
                    <label > Ngành đào tạo (<i>Cho phép chọn nhiều</i>)</label>
                        <asp:DropDownList ID="drop_nganhnghe_cap1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drop_nganhnghe_cap1_SelectedIndexChanged" Width="440px"></asp:DropDownList>
                        <asp:DropDownList ID="drop_nganhnghe_cap2" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drop_nganhnghe_cap2_SelectedIndexChanged" Visible="False" Width="440px"></asp:DropDownList>
                         <asp:Button ID="btn_remove1" runat="server" Text="X" OnClick="btn_remove1_Click" Visible="False" />
                        <asp:DropDownList ID="drop_nganhnghe_cap3" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drop_nganhnghe_cap3_SelectedIndexChanged" Visible="False" Width="440px"></asp:DropDownList>
                         <asp:Button ID="btn_remove2" runat="server" Text="X" OnClick="btn_remove2_Click" Visible="False" />
                        <asp:DropDownList ID="drop_nganhnghe_cap4" runat="server" Visible="False" Width="440px"></asp:DropDownList>
                         <asp:Button ID="btn_remove3" runat="server" Text="X" OnClick="btn_remove3_Click" Visible="False" /></p>
                    <p>
                        <asp:Button ID="btn_choose_nn" runat="server" Text="Chọn ngành nghề cấp cuối cùng" OnClick="btn_choose_nn_Click" />&nbsp;</p>
                    <p>
                        <asp:ListBox ID="ListBox_dm_nn" runat="server" Width="440px"></asp:ListBox>&nbsp;</p>
                    <p>
                        <asp:Button ID="btn_del_item_choose" runat="server" OnClick="btn_del_item_choose_Click"
                            Text="Xoá ngành đang chọn" />&nbsp;</p>
                    <p>
                        <label > Năm thành lập</label>
                        <asp:TextBox ID="txt_namthanhlap" runat="server"></asp:TextBox>
                    </p>
                        
                    <p>
                    <label > Địa chỉ</label>
                    <asp:DropDownList ID="drop_tp" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drop_tp_SelectedIndexChanged"></asp:DropDownList>
                    <asp:DropDownList ID="drop_qh" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drop_qh_SelectedIndexChanged"></asp:DropDownList>
                    <asp:DropDownList ID="drop_px" runat="server"></asp:DropDownList>
                    </p>
                    <p>
                    <label > Địa chỉ chi tiết</label>
                     <asp:TextBox ID="txt_csdt_diachi_ct" runat="server" CssClass="text-input large-input" Width="641px"></asp:TextBox>                 
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_csdt_diachi_ct"
                            ErrorMessage="*" ValidationGroup="grp_submit"></asp:RequiredFieldValidator></p>
                    <p>
                    <label > Điện thoại</label>
                    <asp:TextBox ID="txt_csdt_dienthoai" runat="server" CssClass="text-input large-input" Width="641px"></asp:TextBox>
                    </p>
                    <p>
                    <label > Fax</label>
                    <asp:TextBox ID="txt_csdt_fax" runat="server" CssClass="text-input large-input" Width="641px"></asp:TextBox>
                    </p>
                    <p>
                    <label > Website</label>
                    <asp:TextBox ID="txt_csdt_web" runat="server" CssClass="text-input large-input" Width="641px"></asp:TextBox>
                    </p>
                    <p>
                    <label > Giới thiệu cơ sở</label>
                     <asp:TextBox ID="txt_csdt_gioithieu" runat="server" Rows="5" TextMode="MultiLine"></asp:TextBox>
                    </p>
                    <p>
                    <label > Thông tin khác</label>
                     <asp:TextBox ID="txt_csdt_ghichu" runat="server" Rows="5" TextMode="MultiLine"></asp:TextBox>                 
                    </p>
                     <p>
                       <asp:CheckBox ID="chkKichHoat" runat="server" Text="Cho phép hiển thị" />
                    </p>
                    <p>
                     <asp:Button ID="btn_save" CssClass="button" runat="server" Text="Lưu Thông Tin" OnClick="btn_save_Click" ValidationGroup="grp_submit" />
                    <input class="button" type="reset" value="Reset" />
                    </p>
                </div>
   </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder_Footer" Runat="Server">
</asp:Content>

